<?php  if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Entity_Image_Collection extends Core_Db_Collection {

	public function addPostFilter($postId) {
		$this->getSelect()->where("post_id = {$postId}");
		return $this;
	}
}